package com.loong.common.function;

import com.loong.common.exception.GlobalException;

@FunctionalInterface
public interface CommonParamsFunction<T,R> {

    /**
     * Gets a result.
     *
     * @return a result
     */
    R get(T... items) throws GlobalException;
}
